﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Connexion
</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
   

    <% using (Html.BeginForm()) { %>
        <div id="login">
            <table id="login">
            <tr>
            <td colspan="2">
            <%= Html.ValidationSummary("Authentication Error, check your settings.")%>
            </td>
            </tr>
                <tr><td class="headerTitle" colspan="2">Authentication information</td></tr>
                <tr><td><label for="userName">User name :</label></td>
                    <td>
                        <%= Html.TextBox("userName") %>                        
                    </td>
                </tr>
                <!--<tr><td></td><td> <%= Html.ValidationMessage("userName") %></td></tr>-->    
                <tr>
                    <td>
                        <label for="password">Password :</label>
                    </td>
                    <td>
                        <%= Html.Password("password") %>                        
                    </td>
                </tr>
                <!--<tr><td></td><td> <%= Html.ValidationMessage("password") %></td></tr>-->    
                <tr>
                    <td colspan="2">
                        <%= Html.CheckBox("rememberMe") %> <label class="inline" for="rememberMe">Remember Me ?</label>
                   </td>
                </tr>                
                <tr>
                    <td id="footer" colspan="2" >
                        <input type="submit" value="Login"  class="button"/>
                    </td>
                </tr>               
            </table>
        </div>
    <% } %>
</asp:Content>
